package com.javaoopsix;

//抽象类中
public abstract class Pet {
    private String name;
    private int health;
    private int love;


    public Pet() {
        System.out.println("ddddd");
    }

    //抽象方法
    public abstract void  eat();

    public void run(){
        System.out.println("父类中跑的业务...");
    }
}
